package com.ls.hnks.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ls.hnks.model.CustomerPic;
import com.ls.hnks.service.CustomerPicService;
import com.ls.hnks.mapper.CustomerPicMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 15375
* @description 针对表【tb_customer_pic(客户图片)】的数据库操作Service实现
* @createDate 2023-01-25 21:57:52
*/
@Service
public class CustomerPicServiceImpl extends ServiceImpl<CustomerPicMapper, CustomerPic>
    implements CustomerPicService{

    @Override
    public List<CustomerPic> getPicsByCustomerIds(List<Integer> ids) {
        QueryWrapper<CustomerPic> picQueryWrapper = new QueryWrapper<>();
        picQueryWrapper.in("CustomerID",ids);
        return this.list(picQueryWrapper);
    }
}




